﻿<Window x:Class="TempUI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="406" Width="1295">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="116" />
            <ColumnDefinition Width="384" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <ListBox Margin="0,5,5,5" Name="listBox1" SelectedItem="{Binding SelectedPlayerData,Mode=TwoWay}" DisplayMemberPath="Name" Grid.Column="1" >
            <ListBoxItem Content="ListBoxItem"/>
        </ListBox>
        <DataGrid  Grid.Column="2" Margin="5" Name="dataGrid1" ItemsSource="{Binding SelectedPlayersDatas}"/>
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="12,12,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
        <Button Content="bind" Height="23" HorizontalAlignment="Left" Margin="12,50,0,0" Name="button2" VerticalAlignment="Top" Width="75" Click="button2_Click" />
        <TextBlock Height="22" HorizontalAlignment="Left" Margin="8,82,0,0" Name="textBlock1" Text="{Binding NeededYaw}" VerticalAlignment="Top" Width="96" />
        <TextBlock Height="21" HorizontalAlignment="Left" Margin="10,110,0,0" Name="textBlock2" Text="{Binding NeedePitch}" VerticalAlignment="Top" Width="93" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="12,137,0,0" Name="textBlock3" Text="{Binding Landa}" VerticalAlignment="Top" Width="91" />
    </Grid>
</Window>
